package com.supplychainapi.model;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * 供应商
 * @author:xiezhiwei
 * @email:xiezhiwei@niwodai.net
 * @date:2017-09-26
 *
 */
@Table(name="scm_tbsupplier")
public class ScmTbsupplier {
	
	/**
	 * 供应商代码
	 */
	@ApiModelProperty(value = "供应商代码",required=true)
	@Id
    private String fsSupplierId;
    
    /**
     * 店铺GUID
     */
	@ApiModelProperty(value = "店铺GUID")
	@Id
    private String fsShopGUID;
    
    /**
     * 供应商名称
     */
	@ApiModelProperty(value = "供应商名称",required=true)
    private String fsSupplierName;
    
    /**
     * 简称
     */
	@ApiModelProperty(value = "简称")
    private String fsSupplierShortName;
    
    /**
     * 助记码
     */
	@ApiModelProperty(value = "助记码")
    private String fsHelpCode;
    
    /**
     * 分类代码
     */
//	@ApiModelProperty(value = "分类代码")
//    private String fdNodeCd;
    
    /**
     * 税务登记号
     */
	@ApiModelProperty(value = "税务登记号")
    private String fsTaxNum;
    
    /**
     * 开户银行
     */
	@ApiModelProperty(value = "开户银行")
    private String fsBank;
    
    /**
     * 银行账号
     */
	@ApiModelProperty(value = "银行账号")
    private String fsAccount;
    
    /**
     * 增值税率%
     */
	@ApiModelProperty(value = "增值税率%")
    private BigDecimal fdValueAddRate;
    
    /**
     * 单价是否含税;0=不含税/1=含税
     */
	@ApiModelProperty(value = "单价是否含税;0=不含税/1=含税")
    private Short fiIsTax;
    
    /**
     * 账期天数
     */
	@ApiModelProperty(value = "账期天数")
    private Short fiAccountPeriod;
    
    /**
     * 电话
     */
	@ApiModelProperty(value = "电话")
    private String fsTelCp;
    
    /**
     * 传真
     */
	@ApiModelProperty(value = "传真")
    private String fsFaxCp;
    
    /**
     * 邮箱
     */
	@ApiModelProperty(value = "邮箱")
    private String fsEmailCp;
    
    /**
     * 公司地址
     */
	@ApiModelProperty(value = "公司地址")
    private String fsAddressCp;
    
    /**
     * 邮编
     */
	@ApiModelProperty(value = "邮编")
    private String fsPostalCodeCp;
    
    /**
     * 联系人
     */
	@ApiModelProperty(value = "联系人")
    private String fsContact;
    
    /**
     * 联系人手机
     */
	@ApiModelProperty(value = "联系人手机")
    private String fsCellphoneCt;
    
    /**
     * 法人
     */
	@ApiModelProperty(value = "法人")
    private String fsPreside;
    
    /**
     * 法人手机
     */
	@ApiModelProperty(value = "法人手机")
    private String fsCellphonePe;
    
    /**
     * 工厂地址
     */
	@ApiModelProperty(value = "工厂地址")
    private String fsAddressFa;
    
    /**
     * 工厂邮编
     */
	@ApiModelProperty(value = "工厂邮编")
    private String fsPostalCodeFa;
    
    /**
     * 供应商评级代码
     */
	@ApiModelProperty(value = "供应商评级代码")
    private String fsSupplierLvlId;
    
    /**
     * 备注
     */
	@ApiModelProperty(value = "备注")
    private String fsRemark;
    
    /**
     * 树节点编码
     */
	@ApiModelProperty(value = "树节点编码",required=true)
    private String fsNodeCode;
    
    /**
     * 树节点名称
     */
//	@ApiModelProperty(value = "树节点名称",required=true)
//    private String fsNodeText;
    
    /**
     * 代码全名
     */
    @ApiModelProperty(value = "代码全名")
    private String fsNodeFullCode;
    
    /**
     * 全名
     */
	@ApiModelProperty(value = "全名",required=true)
    private String fsNodeFullText;
    
    /**
     * 平台GUID
     */
	@ApiModelProperty(value = "平台GUID")
    private String fsPGUID;
    
    /**
     * 数据状态;1=正常/9=禁用
     */
	@ApiModelProperty(value = "数据状态;1=正常/9=禁用")
    private Short fiStatus;

    /**
     * 数据状态;1=正常/9=禁用
     */
    @ApiModelProperty("状态1正常9禁用")
    @Transient
    private String fiStatusName;
    
    /**
     * 数据类型;1系统数据、2用户数据
     */
	@ApiModelProperty(value = "数据类型;1系统数据、2用户数据")
    private Short fiDataKind;
    
    /**
     * 创建日期时间
     */
	@ApiModelProperty(value = "创建日期时间")
    private Date fsCreateTime;
    
    /**
     * 创建用户代码
     */
	@ApiModelProperty(value = "创建用户代码")
    private String fsCreateUserId;
    
    /**
     * 创建用户名称
     */
	@ApiModelProperty(value = "创建用户名称")
    private String fsCreateUserName;
    
    /**
     * 新日期时间
     */
	@ApiModelProperty(value = "新日期时间")
    private Date fsUpdateTime;
    
    /**
     * 更新用户代码
     */
	@ApiModelProperty(value = "更新用户代码")
    private String fsUpdateUserId;
    
    /**
     * 新用户名称
     */
	@ApiModelProperty(value = "新用户名称")
    private String fsUpdateUserName;
    
    public String getFsSupplierId() {
        return fsSupplierId;
    }

    public void setFsSupplierId(String fsSupplierId) {
        this.fsSupplierId = fsSupplierId == null ? null : fsSupplierId.trim();
    }

    public String getFsShopGUID() {
        return fsShopGUID;
    }

    public void setFsShopGUID(String fsShopGUID) {
        this.fsShopGUID = fsShopGUID == null ? null : fsShopGUID.trim();
    }

    public String getFsSupplierName() {
        return fsSupplierName;
    }

    public void setFsSupplierName(String fsSupplierName) {
        this.fsSupplierName = fsSupplierName == null ? null : fsSupplierName.trim();
    }

    public String getFsSupplierShortName() {
        return fsSupplierShortName;
    }

    public void setFsSupplierShortName(String fsSupplierShortName) {
        this.fsSupplierShortName = fsSupplierShortName == null ? null : fsSupplierShortName.trim();
    }

    public String getFsHelpCode() {
        return fsHelpCode;
    }

    public void setFsHelpCode(String fsHelpCode) {
        this.fsHelpCode = fsHelpCode == null ? null : fsHelpCode.trim();
    }

    /*public String getFdNodeCd() {
        return fdNodeCd;
    }

    public void setFdNodeCd(String fdNodeCd) {
        this.fdNodeCd = fdNodeCd == null ? null : fdNodeCd.trim();
    }*/

    public String getFsTaxNum() {
        return fsTaxNum;
    }

    public void setFsTaxNum(String fsTaxNum) {
        this.fsTaxNum = fsTaxNum == null ? null : fsTaxNum.trim();
    }

    public String getFsBank() {
        return fsBank;
    }

    public void setFsBank(String fsBank) {
        this.fsBank = fsBank == null ? null : fsBank.trim();
    }

    public String getFsAccount() {
        return fsAccount;
    }

    public void setFsAccount(String fsAccount) {
        this.fsAccount = fsAccount == null ? null : fsAccount.trim();
    }

    public BigDecimal getFdValueAddRate() {
        return fdValueAddRate;
    }

    public void setFdValueAddRate(BigDecimal fdValueAddRate) {
        this.fdValueAddRate = fdValueAddRate;
    }

    public Short getFiIsTax() {
        return fiIsTax;
    }

    public void setFiIsTax(Short fiIsTax) {
        this.fiIsTax = fiIsTax;
    }

    public Short getFiAccountPeriod() {
        return fiAccountPeriod;
    }

    public void setFiAccountPeriod(Short fiAccountPeriod) {
        this.fiAccountPeriod = fiAccountPeriod;
    }

    public String getFsTelCp() {
        return fsTelCp;
    }

    public void setFsTelCp(String fsTelCp) {
        this.fsTelCp = fsTelCp == null ? null : fsTelCp.trim();
    }

    public String getFsFaxCp() {
        return fsFaxCp;
    }

    public void setFsFaxCp(String fsFaxCp) {
        this.fsFaxCp = fsFaxCp == null ? null : fsFaxCp.trim();
    }

    public String getFsEmailCp() {
        return fsEmailCp;
    }

    public void setFsEmailCp(String fsEmailCp) {
        this.fsEmailCp = fsEmailCp == null ? null : fsEmailCp.trim();
    }

    public String getFsAddressCp() {
        return fsAddressCp;
    }

    public void setFsAddressCp(String fsAddressCp) {
        this.fsAddressCp = fsAddressCp == null ? null : fsAddressCp.trim();
    }

    public String getFsPostalCodeCp() {
        return fsPostalCodeCp;
    }

    public void setFsPostalCodeCp(String fsPostalCodeCp) {
        this.fsPostalCodeCp = fsPostalCodeCp == null ? null : fsPostalCodeCp.trim();
    }

    public String getFsContact() {
        return fsContact;
    }

    public void setFsContact(String fsContact) {
        this.fsContact = fsContact == null ? null : fsContact.trim();
    }

    public String getFsCellphoneCt() {
        return fsCellphoneCt;
    }

    public void setFsCellphoneCt(String fsCellphoneCt) {
        this.fsCellphoneCt = fsCellphoneCt == null ? null : fsCellphoneCt.trim();
    }

    public String getFsPreside() {
        return fsPreside;
    }

    public void setFsPreside(String fsPreside) {
        this.fsPreside = fsPreside == null ? null : fsPreside.trim();
    }

    public String getFsCellphonePe() {
        return fsCellphonePe;
    }

    public void setFsCellphonePe(String fsCellphonePe) {
        this.fsCellphonePe = fsCellphonePe == null ? null : fsCellphonePe.trim();
    }

    public String getFsAddressFa() {
        return fsAddressFa;
    }

    public void setFsAddressFa(String fsAddressFa) {
        this.fsAddressFa = fsAddressFa == null ? null : fsAddressFa.trim();
    }

    public String getFsPostalCodeFa() {
        return fsPostalCodeFa;
    }

    public void setFsPostalCodeFa(String fsPostalCodeFa) {
        this.fsPostalCodeFa = fsPostalCodeFa == null ? null : fsPostalCodeFa.trim();
    }

    public String getFsSupplierLvlId() {
        return fsSupplierLvlId;
    }

    public void setFsSupplierLvlId(String fsSupplierLvlId) {
        this.fsSupplierLvlId = fsSupplierLvlId == null ? null : fsSupplierLvlId.trim();
    }

    public String getFsRemark() {
        return fsRemark;
    }

    public void setFsRemark(String fsRemark) {
        this.fsRemark = fsRemark == null ? null : fsRemark.trim();
    }

    public String getFsNodeCode() {
        return fsNodeCode;
    }

    public void setFsNodeCode(String fsNodeCode) {
        this.fsNodeCode = fsNodeCode == null ? null : fsNodeCode.trim();
    }

    /*public String getFsNodeText() {
        return fsNodeText;
    }

    public void setFsNodeText(String fsNodeText) {
        this.fsNodeText = fsNodeText == null ? null : fsNodeText.trim();
    }*/

    public String getFsNodeFullCode() {
        return fsNodeFullCode;
    }

    public void setFsNodeFullCode(String fsNodeFullCode) {
        this.fsNodeFullCode = fsNodeFullCode == null ? null : fsNodeFullCode.trim();
    }

    public String getFsNodeFullText() {
        return fsNodeFullText;
    }

    public void setFsNodeFullText(String fsNodeFullText) {
        this.fsNodeFullText = fsNodeFullText == null ? null : fsNodeFullText.trim();
    }

    public String getFsPGUID() {
        return fsPGUID;
    }

    public void setFsPGUID(String fsPGUID) {
        this.fsPGUID = fsPGUID == null ? null : fsPGUID.trim();
    }

    public Short getFiStatus() {
        return fiStatus;
    }

    public void setFiStatus(Short fiStatus) {
        this.fiStatus = fiStatus;
    }

    public Short getFiDataKind() {
        return fiDataKind;
    }

    public void setFiDataKind(Short fiDataKind) {
        this.fiDataKind = fiDataKind;
    }

    public Date getFsCreateTime() {
        return fsCreateTime;
    }

    public void setFsCreateTime(Date fsCreateTime) {
        this.fsCreateTime = fsCreateTime;
    }

    public String getFsCreateUserId() {
        return fsCreateUserId;
    }

    public void setFsCreateUserId(String fsCreateUserId) {
        this.fsCreateUserId = fsCreateUserId == null ? null : fsCreateUserId.trim();
    }

    public String getFsCreateUserName() {
        return fsCreateUserName;
    }

    public void setFsCreateUserName(String fsCreateUserName) {
        this.fsCreateUserName = fsCreateUserName == null ? null : fsCreateUserName.trim();
    }

    public Date getFsUpdateTime() {
        return fsUpdateTime;
    }

    public void setFsUpdateTime(Date fsUpdateTime) {
        this.fsUpdateTime = fsUpdateTime;
    }

    public String getFsUpdateUserId() {
        return fsUpdateUserId;
    }

    public void setFsUpdateUserId(String fsUpdateUserId) {
        this.fsUpdateUserId = fsUpdateUserId == null ? null : fsUpdateUserId.trim();
    }

    public String getFsUpdateUserName() {
        return fsUpdateUserName;
    }

    public void setFsUpdateUserName(String fsUpdateUserName) {
        this.fsUpdateUserName = fsUpdateUserName == null ? null : fsUpdateUserName.trim();
    }

    public String getFiStatusName() {
        return fiStatusName;
    }

    public void setFiStatusName(String fiStatusName) {
        this.fiStatusName = fiStatusName;
    }
    
    
}